#include <pic.h>
#include "debugshow.h"




void success_show(void)
{
volatile	int i ,k,j ;

TRISA =0;
 while ( 1  )
  {
			for ( RA5 = 0,k = 0 ; k < 900 ; k++)
				for ( j = 0 ; j<30 ; j++) { CLRWDT();}

			for (RA5 =1, k = 0 ; k < 900 ; k++)
				for ( j = 0 ; j<30 ; j++){ CLRWDT();}
}
}

void fail_show(void)
{
		RA5 = 0;
		while ( 1 ){
		
		CLRWDT();};;
}

/*
void debug_showc1 ()
{
	int i ,k,j ;

 while ( 1  )
      {
			for ( k = 0 ; k < 900 ; k++)
				for ( j = 0 ; j<30 ; j++);

RC1 = 0;

				for ( k = 0 ; k < 900 ; k++)
				for ( j = 0 ; j<30 ; j++);

RC1 = 0xff;
}
}

void debug_showc0 ()
{
	int i ,k,j ;

 while ( 1  )
      {
			for ( k = 0 ; k < 900 ; k++)
				for ( j = 0 ; j<30 ; j++);

RC0 = 0;

				for ( k = 0 ; k < 900 ; k++)
				for ( j = 0 ; j<30 ; j++);

RC0 = 0xff;
}
}

*/